package com.nanyang.tms.api.dto.request.dataimport;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import lombok.Data;
@Data
public class DataImportUpdateRequest implements Serializable{
	    private static final long serialVersionUID = 1L;
		@NotEmpty(message = "文件id不能为空")
	    private String id;
	    private Integer totalNum;
		private Integer successNum;
		private Integer failNum;
		@NotEmpty(message = "导入结果不能为空")
		private String result;
		@NotNull(message = "执行状态不能为空")
		private Integer status;
		private List<DataImportLineRequest> successLines;
		private List<DataImportLineRequest> failLines;
}
